package day7;

public class UsbBlueComera extends Camera implements Usb,UsbBlueTooth{

    public UsbBlueComera(String brand) {
        super(brand);
    }

    @Override
    public void plugin() {
        System.out.println(super.brand+"相机接上了usb口");

    }

    @Override
    public void unuplug() {
        System.out.println(super.brand+"相机从usb口移除了");

    }

    @Override
    public void work() {
        System.out.println(super.brand+"相机开始拍照");
        super.takePhoto();
    }

    @Override
    public void connect() {
        System.out.println(super.brand+"连接上蓝牙，可以通过蓝牙传输照片");

    }

    @Override
    public String toString() {
        return "这是一个"+brand+"的照相机";
    }
}
